try {
	Type.registerNamespace('GeneralInScanVO');

	//其他入库扫码记录VO
	GeneralInScanVO = function() {};
	GeneralInScanVO.prototype = new NCMMPubUtil.SuperVO();
	GeneralInScanVO.PK_SCAN = {
		name: "pk_scan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	GeneralInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	
	GeneralInScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	GeneralInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.PK_RACK_NAME = {
		name: "pk_rack_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInScanVO.prototype.getAllAttrs = function() {
		return [
			GeneralInScanVO.PK_SCAN,
			GeneralInScanVO.PK_HEAD,
			GeneralInScanVO.PK_ORG,
			GeneralInScanVO.VBILLCODE,
			GeneralInScanVO.DBILLDATE,
			GeneralInScanVO.HTS,
			//表体
			GeneralInScanVO.PK_ITEM,
			GeneralInScanVO.CROWNO,
			GeneralInScanVO.CMATERIALVID,
			GeneralInScanVO.MATERIALCODE,
			GeneralInScanVO.MATERIALNAME,
			GeneralInScanVO.MATERIALSPEC,
			GeneralInScanVO.MATERIALTYPE,
			GeneralInScanVO.MATERIALSHORTNAME,
			GeneralInScanVO.CUNITID,
			GeneralInScanVO.CUNITID_CODE,
			GeneralInScanVO.CUNITID_NAME,
			GeneralInScanVO.CASTUNITID,
			GeneralInScanVO.CASTUNITID_CODE,
			GeneralInScanVO.CASTUNITID_NAME,
			GeneralInScanVO.VCHANGERATE,
			GeneralInScanVO.NNUM,
			GeneralInScanVO.NASTNUM,
			GeneralInScanVO.VBATCHCODE,
			GeneralInScanVO.BTS,
			GeneralInScanVO.NSCANNUM,
			GeneralInScanVO.NSCANASTNUM,
			GeneralInScanVO.PK_RACK,
			GeneralInScanVO.PK_RACK_NAME,
			GeneralInScanVO.VSERIALCODE
		];
	};
	GeneralInScanVO.prototype.getTableName = function() {
		return "ic_GeneralIn_scan";
	};
	GeneralInScanVO.prototype.getPrimaryAttr = function() {
		return GeneralInScanVO.PK_SCAN;
	};
} catch(e) {
	$e(e);
}